package register;

import net.socket.model.register.RegisterInfo;

import java.util.List;

/**
 * @Author: Qiao Hang
 * @CreateDate: 2021/3/25 下午6:42
 * @UpdateDate:
 * @Description:
 */
public class RountRegisterInfo extends RegisterInfo {
    private String vin;
    private List<String> routPoints;

    @Override
    public boolean checkValid() {
        return vin != null && routPoints != null;
    }

    @Override
    public Object getIdentity() {
        return this.vin;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public List<String> getRoutPoints() {
        return routPoints;
    }

    public void setRoutPoints(List<String> routPoints) {
        this.routPoints = routPoints;
    }
}
